package sjms.construction.composite.e1;

/**
 * @ClassName:
 * @Description:
 * @Author fcb
 * @Date 2020/6/1 14:24
 */
public class Leaf extends Component {

    public Leaf(String name){
        super(name);
    }

    @Override
    public void operation() {
        System.out.println(this.name);
    }
}
